package com.XinYun.Library.modules.Register.Entity;

public class User {
    private static String code = "92573";
    private String username;
    private String direction;
    private String date;
    private String intername;
    private String sid;
    private String password;
    private String mail;

    public User() {
    }

    public User(String username, String direction, String date, String intername, String sid, String password, String mail) {
        this.username = username;
        this.direction = direction;
        this.date = date;
        this.intername = intername;
        this.sid = sid;
        this.password = password;
        this.mail = mail;
    }

    public static String getCode() {
        return code;
    }

    public static void setCode(String code) {
        User.code = code;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getIntername() {
        return intername;
    }

    public void setIntername(String intername) {
        this.intername = intername;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", direction='" + direction + '\'' +
                ", date='" + date + '\'' +
                ", intername='" + intername + '\'' +
                ", sid='" + sid + '\'' +
                ", password='" + password + '\'' +
                ", mail='" + mail + '\'' +
                '}';
    }
}
